#include<iostream>
using namespace std;


int main(){
	int n;
	freopen("input.txt","r",stdin);
	cin>>n;
	int i;
	while(n--){
		long long a,b,c;
		cin>>a>>b>>c;
		i++;
		a+b>c?cout<<"Case #"<<i<<": true"<<endl:cout<<"Case #"<<i<<": false"<<endl;
	}

	return 0;
}